package com.pjh.shitang.services;

import com.pjh.shitang.utils.vo.receive.LikeInfo;
import com.pjh.shitang.utils.vo.receive.PageInfo;
import com.pjh.shitang.utils.vo.receive.PublishInfo;
import com.pjh.shitang.utils.vo.returns.DataWithLike;

import java.util.List;

/**
 * @author yueyinghaibao
 * @date 2022/5/1
 */
public interface CommentService {
    boolean save (PublishInfo info);
    boolean addLike(LikeInfo info);
    boolean decLike(LikeInfo info);
    boolean countLike(LikeInfo info);
    List<DataWithLike<Object>> queryPage(PageInfo info);
}
